
 
 F u n c t i o n :   h a s D C ( s t r i n g I d O r O b j e c t ,   b o o l I n c l u d e F r o m B o u n d ) 
 
 
 
 D e s c r i p t i o n :   C h e c k s   i f   a   s t r i n g   o r   o b j e c t   h a s   a   b o u n d   r e g i s t e r e d   D C   o b j e c t . 
 
 
 
 R e t u r n s :   B o o l e a n :   t r u e   i f   f o u n d ,   f a l s e   o t h e r w i s e . 
 
 
 
 N o t e :   W h e n   o n l y   t h e   f i r s t   p a r a m e t e r   i s   p o p u l a t e d ,   h a s D C ( )   w i l l   o n l y   r e t u r n   t r u e   i f   t h e   s p e c i f i e d   o b j e c t   i s   s e t   a s   t h e   i d   o f   a   r e g i s t e r e d   D C   o b j e c t .   W h e n   b o o l I n c l u d e F r o m B o u n d   i s   t r u e ,   h a s D C ( )   w i l l   a l s o   r e t u r n   t r u e   i f   b o u n d   t o   t h e   s p e c i f i e d   o b j e c t . 
 
 
 
 E x a m p l e : 
 
 
 
 / /   C h e c k   i f   a   s t r i n g   i s   s e t   a s   t h e   D C . i d   o f   a   r e g i s t e r e d   D C   o b j e c t 
 
 v a r   h a s B o u n d D C   =   $ A . h a s D C ( " U n i q u e S t r i n g I D " ) ; 
 
 
 
 / /   C h e c k   i f   a   D O M   e l e m e n t   i s   s e t   a s   t h e   D C . i d   o f   a   r e g i s t e r e d   D C   o b j e c t 
 
 v a r   h a s B o u n d D C   =   $ A . h a s D C ( d o m E l e m e n t ) ; 
 
 
 
 / /   C h e c k   i f   a   t r i g g e r i n g   e l e m e n t   h a s   a   b o u n d   D C   o b j e c t . 
 
 v a r   h a s B o u n d D C   =   $ A . h a s D C ( d o m E l e m e n t ,   t r u e ) ; 
 
 
 
 / /   O r 
 
 
 
 v a r   h a s B o u n d D C   =   $ A ( d o m E l e m e n t ) . h a s D C ( t r u e ) ; 
 
 